package co.th.bjc.md.model;

import java.io.Serializable;
import java.math.BigDecimal;

public class Model implements Serializable {

	private static final long serialVersionUID = 1L;
	private BigDecimal modelCode;
	private String modelName;
	private Category category;
	private Brand brand;

	public Model(){
		
	}
	
	public Model(BigDecimal modelCode, String modelName, Category category,
			Brand brand) {
		super();
		this.modelCode = modelCode;
		this.modelName = modelName;
		this.category = category;
		this.brand = brand;
	}

	public BigDecimal getModelCode() {
		return modelCode;
	}

	public void setModelCode(BigDecimal modelCode) {
		this.modelCode = modelCode;
	}

	public String getModelName() {
		return modelName;
	}

	public void setModelName(String modelName) {
		this.modelName = modelName;
	}

	public Category getCategory() {
		return category;
	}

	public void setCategory(Category category) {
		this.category = category;
	}

	public Brand getBrand() {
		return brand;
	}

	public void setBrand(Brand brand) {
		this.brand = brand;
	}
}
